Mag-sign In
Computer Science for IGCSE & O level - Programming (Section 4 - No. 9)
What will `print("Python"[2:])` output?
P
Py
thon
Error
Paliwanag
Slicing from index 2 to the end of the string will give 'thon'.
Mga komento (0)
Mag-login Upang Magkomento
Advertisement
Payagan ang javascript na i-load nang maayos ang page na ito